The annual interest rate in a bank is 2,2 % (the interest pariod is quarter, the bank pay interest always at the end of quarter period).
Mr Dlhoprstý opened a bank account on 3st of March and invest 50 EUR at the beginning (at the end) of each quarter. 
How much money will Mr Dlhoprstý have on account on 30th of September next year? We assume that Mr Dlhoprstý will not withraw the money from his account.

1st of April

opening : 31st of March

1st of July

1st of April

1st of July

30th of September

1st of October

1st of January

BeginningOfTheYear

EndOfTheYear

Q = (541, 0)
P = (451, 0)
interest = 0 (slider from 0 to 10, step 0.1)
deposit = 0 (slider from 0 to 500, step 1)
C = (271, 0)
B = (181, 0)
A = (91, 0)
z = (0, 1)
R = (631, 0)
R_1: R + z
Q_1: Q + z
n = Vector(Q_1, R_1)
q = Length(n)
P_1: P + z
m = Vector(P_1, Q_1)
p = Length(m)
G: C + z
F: B + z
v = Vector(F, G)
b = Length(v)
E: A + z
u = Vector(E, F)
a = Length(u)
úrok1: deposit a / 360 interest / 100 * 0.81
suma1: deposit + úrok1
úrok2: (suma1 + deposit) b / 360 interest / 100 * 0.81
suma2: suma1 + deposit + úrok2
D = (361, 0)
H: D + z
l = Vector(H, P_1)
o = Length(l)
w = Vector(G, H)
c = Length(w)
úrok3: (deposit + suma2) c / 360 interest / 100 * 0.81
suma3: suma2 + deposit + úrok3
úrok4: (deposit + suma3) o / 360 interest / 100 * 0.81
suma4: suma3 + deposit + úrok4
úrok5: (deposit + suma4) p / 360 interest / 100 * 0.81
suma5: deposit + suma4 + úrok5
úrok6: (deposit + suma5) q / 360 interest / 100 * 0.81
suma6: deposit + suma5 + úrok6
text5: "days " + a
text6: "days " + b
text7: "days " + c
text8: "interest = " + úrok1
text9: "interest = " + úrok2
text11: "interest = " + úrok3
I = (90, 0)
text23: "days " + o
text24: "days " + p
text25: "days " + q
text26: "sum = " + suma1
text27: "sum = " + suma2
text28: "sum = " + suma3
text29: "interest = " + úrok4
text30: "sum = " + suma4
text31: "interest = " + úrok5
text32: "sum = " + suma5
text33: "interest = " + úrok6
text34: "sum = " + suma6
text12: "sum = " + suma6
J: B - z
K: C - z
L: D - z
M: P - z
N: Q - z
O: R - z
e = Vector(J, K)
f = Vector(K, L)
g = Vector(L, M)
h = Vector(M, N)
i = Vector(N, O)
j = Length(e)
k = Length(f)
r = Length(g)
s = Length(h)
t = Length(n)
text13: "days " + j
text14: "days" + k
text15: "days " + r
text16: "days " + s
text17: "days " + t
úrok7: deposit j / 360 interest / 100 * 0.81
suma7: úrok7 + deposit + deposit
text18: "interest = " + úrok7
text19: "sum = " + suma7
úrok8: suma7 k / 360 interest / 100 * 0.81
suma8: suma7 + úrok8 + deposit
text35: "interest = " + úrok8
text36: "sum = " + suma8
úrok9: suma8 r / 360 interest / 100 * 0.81
suma9: suma8 + úrok9 + deposit
text37: "interest = " + úrok9
text38: "sum = " + suma9
úrok10: suma9 s / 360 interest / 100 * 0.81
suma10: suma9 + úrok10 + deposit
text39: "interest = " + úrok10
text40: "sum = " + suma10
úrok11: suma10 t / 360 interest / 100 * 0.81
suma11: suma10 + úrok11 + deposit
text41: "interest = " + úrok11
text42: "sum = " + suma11
text43: "sum = " + suma11
d = false
a_1 = false